// 请求地址
const baseUrl = (function() {
    return 'https://zfx.xmonecode.com/api';
    // return 'http://test_ccc.zhuandanku.com';
    // return 'http://kete999.utools.club';

    let proxy = 'dev';

    if (proxy) {
        uni.setStorageSync('proxy', proxy);
    } else {
        proxy = uni.getStorageSync('proxy') || 'dev';
    }

    switch (process.env.NODE_ENV) {
        case 'development':
            return `/${proxy}`;
        case 'production':
            return ``;
        default:
            return ``;
    }
})();
const token = uni.getStorageSync('token');

export { baseUrl, token };
